package com.xrh.xdemo.api.request.updateRequest;

import java.util.Collection;

import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserBindRolesRequest{

	@ApiModelProperty("用户id")
	@NotNull(message = "用户id不能为空")
	private Long userId;

	@ApiModelProperty("角色ids")
	private Collection<Long> roleIds;

}
